import java.applet.Applet;

import student.web.*;



public class XstreamApplet extends Applet
{
    public void start()
    {
//        SharedPersistentMap<Foo> pMap = new SharedPersistentMap<Foo>(Foo.class);
//        pMap.clear();
//        pMap.put( "Blah", new Foo());
//        Foo got = pMap.get( "Blah" );
//        System.out.println(got.getBlah());
        SessionPersistentMap<Foo> pMap = new SessionPersistentMap<Foo>(Foo.class);
        System.out.println(pMap.entrySet().size());
    }
    static public void main (String argv[]) {
        XstreamApplet a = new XstreamApplet ();
        a.start(); 
      } 
}
